const unicode/utf8.maskx
27 uses
unicode/utf8 (current package)
utf8.go#L36: maskx = 0b00111111
utf8.go#L66: runeErrorByte1 = tx | (RuneError>>6)&maskx
utf8.go#L67: runeErrorByte2 = tx | RuneError&maskx
utf8.go#L195: return rune(p0&mask2)<<6 | rune(b1&maskx), 2
utf8.go#L202: return rune(p0&mask3)<<12 | rune(b1&maskx)<<6 | rune(b2&maskx), 3
utf8.go#L208: return rune(p0&mask4)<<18 | rune(b1&maskx)<<12 | rune(b2&maskx)<<6 | rune(b3&maskx), 4
utf8.go#L255: return rune(s0&mask2)<<6 | rune(s1&maskx), 2
utf8.go#L262: return rune(s0&mask3)<<12 | rune(s1&maskx)<<6 | rune(s2&maskx), 3
utf8.go#L268: return rune(s0&mask4)<<18 | rune(s1&maskx)<<12 | rune(s2&maskx)<<6 | rune(s3&maskx), 4
utf8.go#L383: p[1] = tx | byte(r)&maskx
utf8.go#L388: p[1] = tx | byte(r>>6)&maskx
utf8.go#L389: p[2] = tx | byte(r)&maskx
utf8.go#L394: p[1] = tx | byte(r>>12)&maskx
utf8.go#L395: p[2] = tx | byte(r>>6)&maskx
utf8.go#L396: p[3] = tx | byte(r)&maskx
utf8.go#L422: return append(p, t2|byte(r>>6), tx|byte(r)&maskx)
utf8.go#L424: return append(p, t3|byte(r>>12), tx|byte(r>>6)&maskx, tx|byte(r)&maskx)
utf8.go#L426: return append(p, t4|byte(r>>18), tx|byte(r>>12)&maskx, tx|byte(r>>6)&maskx, tx|byte(r)&maskx)